package com.linjacy.container.product.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.listener.RedisMessageListenerContainer;

//@Slf4j
//@Configuration
//public class RedisListenerConfig {
//
//    @Bean
//    public RedisMessageListenerContainer container(RedisConnectionFactory redisConnectionFactory) {
//        RedisMessageListenerContainer container = new RedisMessageListenerContainer();
//        container.setConnectionFactory(redisConnectionFactory);
//        log.info("redis监听配置生效");
//        return container;
//    }
//}
